<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
[#assign path = var_contextpath + var_resrootpath + "/" + var_syscfg.sscTemplate/]
[#include "../inc/goods/goodsBox.html"]
[#include "../inc/common/groupTree.html"]
[#include "../inc/common/articleGroupList.html"]

<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>站内快讯详情</title>
		<link rel="stylesheet" type="text/css" href="${path}/css/style.css" />
	</head>
	
	<body>
		[#include "../inc/common/head.html"]
		<div class="block box">
		 <div id="ur_here">
		   当前位置: <a href="${var_contextpath}/index.xhtml">首页</a> <code>&gt;</code> <a href="${var_contextpath}/articles.xhtml?baiGroup=${(var_articleGroup.bagId) ! ''}">${(var_articleGroup.bagName) ! "文章列表"}</a> <code>&gt;</code> <span>${(var_articleDetails.baiTitle) ! ""}</span> 
		 </div>
		</div>
		<div class="blank"></div>
		<div class="block clearfix">
			<div class="AreaL">
			  [#-- 读取商品分类数据的自定义标签，参数：par_treeid 选择分类ID。--]
			  [#if var_member??]
				  [#assign var_memberid = var_member.bmbId]
			  [#else]
				  [#assign var_memberid = var_memberid]
			  [/#if]
			
			  [@ecs_cartinfo par_memberid = var_memberid]
				  <div class="cart" id="ECS_CARTINFO">
					  <a href="${var_contextpath}/order/cartorder.xhtml" title="查看购物车">您的购物车中有 ${var_cartgoodsnum!'0'} 件商品，总计金额 ￥${var_carttotalprice!'0.00'}元。</a>
				  </div>
			  [/@ecs_cartinfo]
			  <div class="blank5"></div>
			  <div class="box">
				  [#-- 读取商品分类数据的自定义标签，参数：par_treeid 选择分类ID。--]
				  [@ecs_classified par_treeid = "0"]
					  [@ecs_grouptreeroot par_datalist = var_grouplist/]
				  [/@ecs_classified]		
			  </div>
			  <div class="blank5"></div>
		 	  <div class="box">
		 		  <div class="box_1">
			  		  <h3><span>文章分类</span></h3>
			  		  <div class="boxCenterList RelaArticle">
			  		  	  [#-- 读取站内快讯分类列表自定义标签。--]
					      [@ecs_articlegrouplist]
					      	[#if var_articleGroupList ??]
					      		[#-- 读取站内快讯分类列表自定义宏。--]
					      		[@ecs_ud_articlegroups par_articleGroupList = var_articleGroupList/]
				  			[/#if]
					  	  [/@ecs_articlegrouplist]
			          </div>
			 	  </div>
			  </div>
		  	  <div class="blank5"></div>
		   </div>
		   
		   <div class="AreaR">
			    <div class="box">
					<div class="box_1">
						<div style="border: 4px solid #fcf8f7; background-color: #fff; padding: 20px 15px;">
							<div class="tc" style="padding: 8px;">
								<font class="f5 f6">${(var_articleDetails.baiTitle) ! ""}</font><br />
								<font class="f3">${(var_articleDetails.baiAuthor) ! ""} / ${(var_articleDetails.baiTime) ! ""}</font>
							</div>
							<table width="100%" cellspacing="0" cellpadding="4" align="center" class="tableborder">
								<tbody>
									<tr>
										<td width="180" valign="top" class="altbg4">&nbsp;</td>
										<td height="100%" valign="top" class="altbg3">
											<table cellspacing="0" cellpadding="0" border="0" 
												style="padding: 5px; table-layout: fixed; width: 973px; ">
												<tbody>
													<tr>
														<td valign="top">
															<div class="bbs_content clearfix">
																${(var_articleDetails.baiDetail) ! ""}
																
																[#if (var_articleDetails.baiAttachurl) ?? && (var_articleDetails.baiAttachurl) != ""]
																	[#assign filePath = ((var_virtualpath + var_articleAttachPath)! "") + var_articleDetails.baiAttachurl]
																	<div>
																		<br />
																		<a href="${filePath}" title="${(var_articleDetails.baiAttachname)! '下载附件'}" target="_blank">[ 相关下载 ]</a>
																	</div>
																[/#if]
															</div>
														</td>
													</tr>
												</tbody>
											</table>
										</td>
									</tr>
								</tbody>
							</table>
							<p>&nbsp;</p>
							<div style="padding: 8px; margin-top: 15px; text-align: left; border-top: 1px solid #ccc;">
								[#if var_nextArticleDetails ??]
									下一篇:<a href="${var_contextpath}/articleDetails.xhtml?baiId=${var_nextArticleDetails.baiId}&baiGroup=${var_nextArticleDetails.baiGroup}" class="f6">${var_nextArticleDetails.baiTitle}</a>
									[#if var_preArticleDetails ??]<br/>[/#if]
								[/#if]
								
								[#if var_preArticleDetails ??]
									上一篇:<a href="${var_contextpath}/articleDetails.xhtml?baiId=${var_preArticleDetails.baiId}&baiGroup=${var_preArticleDetails.baiGroup}" class="f6">${var_preArticleDetails.baiTitle}</a>
								[/#if]
							</div>
						</div>
					</div>
				</div>
		   </div>
		   <div class="blank5"></div>
		</div>
		   [#include "../inc/common/help.html"]
		   [#include "../inc/common/bottomNav.html"]
		   [#include "../inc/common/footer.html"]
	</body>
</html>
